package cn.pegasus.teamwork.pegasus.service;

import java.util.List;
import java.util.Map;

import cn.pegasus.teamwork.pegasus.entity.BussServiceClassic;
import cn.pegasus.teamwork.pegasus.entity.BussUcenterArea;
import cn.pegasus.teamwork.pegasus.mapper.BussServiceClassicMapper;
import cn.iyizhan.teamwork.base.service.BaseService;
import cn.iyizhan.teamwork.base.util.PageObject;

/**
 * @author ryan.bian
 * @version 
 */
public interface BussServiceClassicService extends BaseService<BussServiceClassic,BussServiceClassicMapper>  {

	//分页查询
	public PageObject<BussServiceClassic> PageList(Map<String, Object> map);
	
	//查询所有分类信息
	public List<BussServiceClassic> findAllList(Long id);
	
	//查询详情
	public BussServiceClassic findClassicInfo(Long id);
	
	//新增
	public void add(Long id,Map<String,Object> map);
	
	//修改
	public void update(Long id,Map<String,Object> map);
	
	//删除
	public int delete(Long id,long classicId);
}
